cmake_minimum_required(VERSION 2.8)
project(TestOnnxRuntime)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR})
find_package(OnnxRuntime REQUIRED)
include_directories(${ONNXRUNTIME_INCLUDE_DIR})
message("----:${ONNXRUNTIME_FOUND},${ONNXRUNTIME_INCLUDE_DIR},${onnxruntime},${ONNXRUNTIME_LIBRARIES}")
add_executable(${PROJECT_NAME} main.cpp)
target_link_libraries(${PROJECT_NAME} ${ONNXRUNTIME_LIBRARY})
